package com.chery.media.app.base

import com.chery.media.library.base.IBaseResponse

data class BaseResult<T>(
    val msg: String,
    val code: String,
    val data: T
) : IBaseResponse<T> {

    override fun code() = code

    override fun msg() = msg

    override fun data() = data

    override fun isSuccess() = code == "200"

}